package com.woniuxy.service.hospital;

import com.github.pagehelper.PageInfo;
import com.woniuxy.entity.Dept;
import com.woniuxy.entity.Hospital;
import io.swagger.models.auth.In;

import java.util.List;

public interface DeptService {
    PageInfo<Dept> findAll(Integer page, Integer size);

    int save(Dept dept);

    int update(Dept dept);
    List<Dept> findAllDept(Integer hid);

    int delete(Integer deptId);

    List<Dept> findLike(String hName);
}
